<?php
/**
 * Created by PhpStorm.
 * User: 仙女大人
 * Date: 2019/5/27
 * Time: 15:18
 */

namespace app\admin\controller;
use think\Controller;
use think\Session;
use think\Db;
use app\admin\model\Msg as MsgModel;

class Chat extends Base
{
    public function ChatList()
    {
        $user = Db::query("select `user_name`,`id` from `think_user`");
        $this->assign("user_list",$user);
        return $this->fetch();
    }
}